package org.thalien.roleplay.action;

import org.thalien.roleplay.logic.RegionLogic;
import org.thalien.roleplay.servlet.GsonServletVoid;

import com.google.inject.Inject;
import com.google.inject.Singleton;

@Singleton
public class GetAllRegions extends GsonServletVoid {

	private static final long serialVersionUID = -751787323205383805L;
	
	@Inject
	private RegionLogic regionLogic;

	@Override
	protected Object handleRequest() {
		return regionLogic.getAllEntities();
	}

}
